package com.zoer.domain;

// default package

import java.util.HashSet;
import java.util.Set;

/**
 * Disease entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Disease implements java.io.Serializable {

	// Fields

	private String diseaseid;
	private DiseaseType diseaseType;
	private String diseasename;
	private String desp;
	private String code;
	private String definition;
	private String symbol;
	private String according;
	private Set tipses = new HashSet(0);
	private Set diseaseRecipes = new HashSet(0);

	// Constructors

	/** default constructor */
	public Disease() {
	}

	public Disease(String symbol, String name) {
		this.symbol = symbol;
		this.diseasename = name;
	}

	/** full constructor */
	public Disease(String diseaseid, DiseaseType diseaseType,
			String diseasename, String desp, String code, String definition,
			String symbol, String according, Set tipses, Set diseaseRecipes) {
		this.diseaseid = diseaseid;
		this.diseaseType = diseaseType;
		this.diseasename = diseasename;
		this.desp = desp;
		this.code = code;
		this.definition = definition;
		this.symbol = symbol;
		this.according = according;
		this.tipses = tipses;
		this.diseaseRecipes = diseaseRecipes;
	}

	// Property accessors

	public String getDiseaseid() {
		return this.diseaseid;
	}

	public void setDiseaseid(String diseaseid) {
		this.diseaseid = diseaseid;
	}

	public DiseaseType getDiseaseType() {
		return this.diseaseType;
	}

	public void setDiseaseType(DiseaseType diseaseType) {
		this.diseaseType = diseaseType;
	}

	public String getDiseasename() {
		return this.diseasename;
	}

	public void setDiseasename(String diseasename) {
		this.diseasename = diseasename;
	}

	public String getDesp() {
		return this.desp;
	}

	public void setDesp(String desp) {
		this.desp = desp;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDefinition() {
		return this.definition;
	}

	public void setDefinition(String definition) {
		this.definition = definition;
	}

	public String getSymbol() {
		return this.symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getAccording() {
		return this.according;
	}

	public void setAccording(String according) {
		this.according = according;
	}

	public Set getTipses() {
		return this.tipses;
	}

	public void setTipses(Set tipses) {
		this.tipses = tipses;
	}

	public Set getDiseaseRecipes() {
		return this.diseaseRecipes;
	}

	public void setDiseaseRecipes(Set diseaseRecipes) {
		this.diseaseRecipes = diseaseRecipes;
	}

}